All Questions
5 questions
8votes
2answers
528views
Fourier Series of a given function
This is a very simple code that expresses a function in terms of Trigonometric Fourier Series and generates a animation based on the harmonics. I would like to know some ways to improve the ...
9votes
1answer
4kviews
Bilinear image interpolation
I have written a bilinear interpolant, which is working moderately well except that is painfuly slow. How can rewrite the code to make it faster? Using opencv directly isn't a valid answer. ...
3votes
1answer
1kviews
Hurst Exponent calculator
I am aiming to compute the Hurst Exponent of a 1-D signal time series in Python. For now, I have one existing function hurst(sig) which returns the Hurst exponent ...
2votes
0answers
2kviews
Gray-level co-occurrence matrix feature computation
I have many images and want to compute the GLCM properties for every image. Below my code that runs many hours to complete the task: ...
4votes
2answers
168views
Poor performance for signal processing
I have a program doing a LOT of iteration (thousands to millions to hundreds of millions). It's starting to take quite a lot of time (few minutes, to a few days), and despite all my effort to optimize ...